adTempus API
PreviousUpNext
IScheduler::GetObjectReferences Method

Gets a collection of the objects that reference a specified object.

C++
HRESULT GetObjectReferences(IADTObject * object, long options, [out,retval] IADTObjects** objects);
C#
GetObjectReferences(IADTObject object, long options, [out,retval] IADTObjects* objects);
Visual Basic
Sub GetObjectReferences(object As IADTObject, options As long, objects As [out,retval] IADTObjects*)
Parameters 
Description 
[in] IADTObject * object 
The object to query the references for. 
[out,retval] IADTObjects** objects 
The objects that reference the specified object. 

This method can be used to determine which objects reference an object so that the references can be removed to allow the object to be deleted.

adTempus API Reference version 3.0.0.0, revised 10/30/2008